 #define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stddef.h>
struct S 
{
	char c;
	int a;
};
 #define OFFSETOF(type,member)  (size_t)&(((type*)0)->member)
int main(void)
{
	struct S s;
	
	

	printf("%d", OFFSETOF(struct S,a ));
}